﻿using System.Collections.Generic;
using System.Web.Security;
using Domain.Entities;

namespace BusinessLogic.Interfaces
{
    public interface IUsersRepository
    {
        IEnumerable<User> GetUsers();
        User GetUserById(int id);
        User GetUserByLogin(string login);
        MembershipUser GetMembershipUserByLogin(string login);
        string GetUserLoginByEmail(string email);
        void CreateUser(string login, string password, string email, string firstName, string lastName, string middleName, int roleId);
        bool ValidateUser(string login, string password);
        void SaveUser(User user);
        void DeleteUserById(int id);

    }
}
